//
//  CycleView.h
//  16-CycleImage
//
//  Created by dllo on 16/8/4.
//  Copyright © 2016年 LST. All rights reserved.
//

#import <UIKit/UIKit.h>

@protocol CycleViewDelegate <NSObject>

- (void)didClickItemIndexpath:(NSIndexPath *)indexpath;
@end

@protocol CycleImageDataSource <NSObject>

- (void)handleDataWithObject:(id)objc cell:(__kindof UICollectionViewCell *)cell;

@end

@interface CycleView : UIView
@property (nonatomic, strong)NSArray *arr;
@property (nonatomic, weak)id <CycleViewDelegate> delegate;
@property (nonatomic, weak)id <CycleImageDataSource>Datasource;

@end

@interface CycleImageCell : UICollectionViewCell
@property (nonatomic, strong)UIImageView *cycleImage;
@end
